.box {
  width: 500px;
  height: 500px;
  background-color: #c97777;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.box2 {
  width: 200px;
  height: 200px;
  background-color: #148;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
